function setChecked(id, checked)
{
	if(document.getElementById(id))
	{
		var object = document.getElementById(id);
		object.checked = checked;
	}
}